package com.example.demo.manager;

import org.activiti.engine.identity.Group;

import org.activiti.engine.impl.persistence.entity.UserEntityManager;
import org.springframework.stereotype.Service;


import java.util.List;


/**
 * @Description: 覆盖原本的UserEntityManager实现自定义的用户
 * @Author: zsg
 * @Date: 2018/07/05 15:50
 */

@Service
public class CustomUserEntityManager extends UserEntityManager {

    @Override
    public List<Group> findGroupsByUser(String userId) {
        System.out.println("findGroupsByUser----List<Group> ");
        return null;
    }





}
